Creating a gambas2 program, step by step, a telephone index

From : http://listingambas.blogspot.com/2011/06/organizar-nuestro-codigo-fuente-modulos.htm

Organize your source code with Modules


Before entering a single line of source code we will organize our program with the help of the modules.
We will create the following modules:

var
Contains all global variables that we use in the program.
title
Define titles and fill in the details gridviews
files Where the functions Open, Save data files
management Functions for managing the agenda: new records, edit and delete
filter Functions for retrieving data which contents match specified text
import
Importing data from clipboard
export
Export data to clipboard



To create modules, we click on the area of ​​the directory of our project, we will get the new menu / module, and be asked for the name of the new module


Once all the modules
created, they are ordered as follows: